package com.szrt.javaweb.demo;

public class UserEntity {
	
	
	public String phone="13926583118";
	
	private String password;
	
	private Integer age=33;
	
	
	
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	public UserEntity() {
		super();
		System.out.println("调用UserEntity类无参的构造方法...");
	}
	
	
	public UserEntity(String phone) {
		super();
		this.phone = phone;
	}
	
	
	public UserEntity(String phone, String password) {
		super();
		this.phone = phone;
		this.password = password;
	}
	
	
	public UserEntity(String phone, String password, Integer age) {
		super();
		this.phone = phone;
		this.password = password;
		this.age = age;
	}
	
	public UserEntity(String phone, Integer age) {
		super();
		System.out.println("调用UserEntity类有参的构造方法 2个参数  1String 2Integer...");
		this.phone = phone;
		this.age = age;
	}
	@Override
	public String toString() {
		return "UserEntity [phone=" + phone + ", password=" + password + ", age=" + age + "]";
	}
	
	
	
	public int add02(int a , int b){
		return a +b;
	}
	
	@SuppressWarnings("unused")
	private int add03(int a , int b,int c){
		return a +b+c;
	}
	
	
	
	
	
	
	
	
	
	

}
